<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.util.*,
				 com.kylin.common.util.*,
				 com.kylin.common.paginate.*" %>
<%@ include file="/common/include/taglibs.jsp"%>
<%@ include file="/common/include/pageExpires.jsp"%>
<%@ include file="/common/include/dictNames.jsp"%>
<%@ page import="com.kylin.module.specials.orm.Special"%>
<br>
<b>《系统属性表 列表》</b>
<hr>

以下是系统中各模块使用到的所有属性
<br>
<mytag:MyActionMsg />

<table class='pageTable' cellspacing='0' cellpadding='0'>
     <tr>
        <td class='pageTitle'>ID号</td>
        <td class='pageTitle'>所属专题</td>
        <td class='pageTitle'>专题名称</td>
     </tr>
<%
		if (request.getAttribute(Constants.KEY_REQUEST_RESULT) != null) {
		DisplayPage dispage = (DisplayPage) request
		.getAttribute(Constants.KEY_REQUEST_RESULT);

		String ownUrl = "/admin/special/manageSpecial.do?CMD=searchHot";
		String specialDetailUrl = "/admin/special/manageSpecial.do?CMD=detailSpecial&id=";

		for (int i = 0; i < dispage.getList().size(); i++) {
			Special s = (Special) dispage.getList().get(i);
%>
<tr class='row<%=(i % 2)%>'>
	<td class='pageTd'>
		<%=s.getId()%>
	</td>
	<td class='pageTd'>
		<%=s.getCatspecial().getName()%>

	</td>
	<td class='pageTd'>
		<a href="<%=specialDetailUrl + s.getId()%>">
		<%=s.getTitle()%>
	</td>

</tr>
<%
		}
		out.println("</table>");
		out.print(JspHelper.getPageBar(dispage,ownUrl));	
	} else {
		out.println("未找到记录");
	}
%>
